from django.db import models

# Create your models here.


class UserInfo(models.Model):
    role = models.CharField(verbose_name="角色", max_length=32, null=True, blank=True)
    username = models.CharField(verbose_name="用户名", max_length=32)
    password = models.CharField(verbose_name="密码", max_length=64)
    token = models.CharField(verbose_name="token", max_length=64, null=True, blank=True)

class Auth(models.Model):
    name = models.CharField(max_length=10, verbose_name="Auth Name")